package com.biz.primus.ms.order.dao.repository;

import com.biz.primus.ms.base.jpa.repository.CommonJpaRepository;
import com.biz.primus.ms.order.dao.po.OrderSummary;
import org.springframework.stereotype.Repository;

/**
 * OrderSummaryRepository
 *
 * @author Tiger Feng
 * @date 2017年11月03日
 */
@Repository
public interface OrderSummaryRepository extends CommonJpaRepository<OrderSummary, Long>, OrderSummaryDao {
    /**
     * 根据订单汇总编号获取订单汇总
     * @param orderSummaryCode
     * @return
     */
    OrderSummary findByOrderSummaryCode(String orderSummaryCode);
}
